#pragma once
#include <opencv/cv.h>


class ThresholdEntropy
{
private:

	CvHistogram * _histogram;

public:

	ThresholdEntropy ();
	
	~ThresholdEntropy ();

	void process (IplImage* inImage, IplImage* outImage, const IplImage* maskImage = NULL);

	int calcThreshold (IplImage* inImage,  const IplImage* maskImage = NULL);

};

